import Vue from "vue";
import HashRouter from "./hash-router";

import Home from "@/views/home";
import Login from "@/views/login";

Vue.use(HashRouter);

const routes = [
  {
    path: "/login",
    name: "Login",
    component: Login,
  },
  {
    path: "/home",
    name: "Home",
    component: Home,
  },
];

const router = new HashRouter({ routes });

export default router;
